package com.wan37.logic.guild.domain.vo;

import com.wan37.logic.guild.domain.entity.GuildWarehouseDO;

import javax.persistence.Column;

/**
 * @author : luoyong
 * @date : 2020-08-03 17:06
 **/
public class GuildWarehouseVO {
    private String guildId;
    private String backpackId;
    private String userId;

    public GuildWarehouseVO(){}

    public GuildWarehouseVO(GuildWarehouseDO guildWarehouseDO) {
        this.guildId = guildWarehouseDO.getGuildId();
        this.backpackId = guildWarehouseDO.getBackpackId();
        this.userId = guildWarehouseDO.getUserId();
    }

    public String getGuildId() {
        return guildId;
    }

    public void setGuildId(String guildId) {
        this.guildId = guildId;
    }

    public String getBackpackId() {
        return backpackId;
    }

    public void setBackpackId(String backpackId) {
        this.backpackId = backpackId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "GuildWarehouseVO{" +
                "guildId='" + guildId + '\'' +
                ", backpackId='" + backpackId + '\'' +
                '}';
    }
}
